<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2021/5/18
  Time: 17:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/common/common.jsp" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form id="update_form">
    <input type="hidden" name="uid" value="${user.uid}">
    名字:<input type="text" name="uname" value="${user.uname}">
    <br>
    <hr1>权限</hr1>
    <c:forEach items="${role}" var="r">
        <input type="checkbox" value="${r.rid}" name="rid" <c:if test="${rid.contains(r.rid)}">checked</c:if>>${r.rname}
    </c:forEach>

</form>
</body>
</html>
